package com.android.baseconfig.data.http.okhttp.api;

import com.android.baseconfig.base.BaseApiResult;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * ---------------------------------------------------------------- <br>
 * Copyright (C) 2014-2021, by het, ShenZhen, All rights reserved.  <br>
 * ---------------------------------------------------------------- <br>
 * <p>
 * 描述: ApiService <br>
 * 作者: lei <br>
 * 日期: 2021/12/26 <br>
 */
public interface ApiService {

    /**
     * 获取设备列表树(/bossTAppliancesModel/user/page?limit=1000)
     *
     * @param token token
     * @return Observable<BaseApiResult<String>>
     */
    @GET("supor-food-oss/bossTUser/reflushToken")
    Call<BaseApiResult<String>> getToken(@Query("token") String token);
}
